package com.ajzhang.bean;

import java.util.Date;

/**
 * Budget entity. @author MyEclipse Persistence Tools
 */

public class Budget implements java.io.Serializable {

	// Fields

	private Integer budgetId;
	private UserInfo userId;
	private BillType billTypeId;
	private Double lastMonth;
	private Double thisMonth;
	private Date date;

	// Constructors

	/** default constructor */
	public Budget() {
	}

	public Budget(Integer budgetId, UserInfo userId, BillType billTypeId, Double lastMonth, Double thisMonth, Date date) {
		super();
		this.budgetId = budgetId;
		this.userId = userId;
		this.billTypeId = billTypeId;
		this.lastMonth = lastMonth;
		this.thisMonth = thisMonth;
		this.date = date;
	}

	// Property accessors

	public Integer getBudgetId() {
		return this.budgetId;
	}

	public void setBudgetId(Integer budgetId) {
		this.budgetId = budgetId;
	}

	public UserInfo getUserId() {
		return userId;
	}

	public void setUserId(UserInfo userId) {
		this.userId = userId;
	}

	public BillType getBillTypeId() {
		return billTypeId;
	}

	public void setBillTypeId(BillType billTypeId) {
		this.billTypeId = billTypeId;
	}

	public Double getLastMonth() {
		return this.lastMonth;
	}

	public void setLastMonth(Double lastMonth) {
		this.lastMonth = lastMonth;
	}

	public Double getThisMonth() {
		return this.thisMonth;
	}

	public void setThisMonth(Double thisMonth) {
		this.thisMonth = thisMonth;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
}